<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<title>文件上传</title>
<meta name="decorator" content="default" />
</head>
<body>
	<form action="${ctxRest}/sys/file/upload" method="post" enctype="multipart/form-data">
		<input type="hidden" name="type" value="01"  />
		<table class="table" style="width:30%;">
			<tr>
				<td>文件名</td>
				<td><input class="easyui-textbox" name="name" style="width:300px;" /></td>
			</tr>
			<tr>
				<td>附件</td>
				<td><input class="easyui-filebox" name="file" style="width:300px;" buttonText="选择文件" /></td>
			</tr>
			<tr>
				<td colspan="2" align="center" style="text-align: center;">
					<input type="reset" class="easyui-linkbutton" value="重置" style="padding:5px;" />
					<input type="submit" class="easyui-linkbutton" value="确定" style="padding:5px;" />
				</td>
			</tr>
		</table>
	</form>	
	
	<img src="${ctxRest}/sys/file/get?path=01\jpg\2016\06\22\20160622163328_736.jpg" width="100" height="100">
</body>
</html>